This simple script establishes a MacPPP connection, checks for new mail (and uploades queued mail), and finally shuts down the MacPPP connection.